﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Baidu.Push.Api.Domain
{
    public class FetchMessage : PushObject
    {
        [JsonProperty("channel_id")]
        public ulong ChannelId { get; set; }

        [JsonProperty("msg_id")]
        public ulong MsgId { get; set; }

        [JsonProperty("msg_key")]
        public string MsgKey { get; set; }

        [JsonProperty("data")]
        public string Message { get; set; }

        [JsonProperty("length")]
        public uint MssageLength { get; set; }

        [JsonProperty("type")]
        public uint MessageType { get; set; }

        [JsonProperty("expired")]
        public uint MessageExpires { get; set; }
    }
}
